/*
 * common.h
 *
 *  Created on: Apr 5, 2010
 *      Author: nguyencao
 */

#ifndef COMMON_H_
#define COMMON_H_
#include <gmp.h>

# define 	INTEGER 		mpz_t
//#define 	MPDIM 		80
//#define 	MPCDIM 		400

#define APPC_FILE	"appc"


# define CHAR 		char
# define DIG0 		'0'
# define MINUS 		'-'
# define NEWLINE 	'\n'
# define BLANK 		' '
# define TAB  		'\t'
# define EOS  		'\0'
# define ERROR		-2
//# define MPTEST						//to omit tests
# define MPBASE		1073741824		// max int
# define MPBITS		30				//2**MPBITS = MPBASE
# define MPDIM		120
# define MPCDIM		600
# define BASE		23		 		//base for sprp test
# define TRUE		1
# define FALSE		0
# define STDIN		stdin
# define STDOUT		stdout
# define STDERR		stderr			//output:  error messages
# define MAXLINE		1000
# define DIM			10				// the maximum number of digits in a[i] is 10 - 1

#endif /* COMMON_H_ */
